numerical tricks